Skip to content

activate environment #89

activate environment

activate environment #89

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
lua: ["5.1"]
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install hererocks
run: |
python -m pip install hererocks
- name: Install Lua and LuaRocks
run: |
python -m hererocks env --lua 5.1 --luarocks latest
- name: Install lfs
run: |
. env/bin/activate
luarocks install luafilesystem
luarocks show luafilesystem
lua -e 'print(_VERSION); print(package.cpath); require "lfs"'
- name: install busted
run: |
. env/bin/activate
luarocks install busted
- name: Build
run: |
. env/bin/activate
luarocks make
- name: Test
run: |
. env/bin/activate
luarocks test