Use choosenim instead
This commit is contained in:
parent
8cd5c45cda
commit
0055a12fc1
1 changed files with 2 additions and 6 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -21,8 +21,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
firefox: [ '73.0' ]
|
firefox: [ '73.0' ]
|
||||||
include:
|
include:
|
||||||
- nim-version: 'stable'
|
- cache-key: 'stable'
|
||||||
cache-key: 'stable'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Checkout submodules
|
- name: Checkout submodules
|
||||||
|
|
@ -50,10 +49,6 @@ jobs:
|
||||||
path: ~/.nimble
|
path: ~/.nimble
|
||||||
key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
|
key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
|
||||||
|
|
||||||
- uses: jiro4989/setup-nim-action@v1
|
|
||||||
with:
|
|
||||||
nim-version: "${{ matrix.nim-version }}"
|
|
||||||
|
|
||||||
- name: Install geckodriver
|
- name: Install geckodriver
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get -qq update
|
sudo apt-get -qq update
|
||||||
|
|
@ -73,6 +68,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
|
export PATH=$HOME/.nimble/bin:$PATH
|
||||||
export MOZ_HEADLESS=1
|
export MOZ_HEADLESS=1
|
||||||
nimble -y install
|
nimble -y install
|
||||||
nimble -y test
|
nimble -y test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue